package com.example.dao.factory;

import com.example.dao.UserDao;
import com.example.dao.impl.UserDaoImpl;

/**
 * @author Wenyi Luo
 * @ClassName DynamicFactory
 * @Description TODO
 * @date 22/2/27 16:17
 * @version: 1.0
 */
//工厂动态方法实例化

public class DynamicFactory {
    public UserDao getUserDao(){
        return new UserDaoImpl();
    }
}
